package me.zhanshi123.pixelpaygui.gui.paymoney

import io.izzel.taboolib.util.item.ItemBuilder
import io.izzel.taboolib.util.lite.Materials
import me.zhanshi123.pixelpaygui.ConfigManager
import me.zhanshi123.pixelpaygui.gui.CommonGuiUtil
import me.zhanshi123.pixelpaygui.util.Skulls
import org.bukkit.Bukkit
import org.bukkit.inventory.Inventory
import org.bukkit.inventory.ItemStack

object PayGui {

    fun getInventory(money: Int): Inventory {
        val holder = PayGuiHolder()
        val inventory = Bukkit.createInventory(holder, 54, "支付 $money 元")
        holder.money = money as Integer
        inventory.setItem(20, CommonGuiUtil.alipay)
        inventory.setItem(22, CommonGuiUtil.wechat)
        inventory.setItem(24, CommonGuiUtil.qq)
        inventory.setItem(40, CommonGuiUtil.close)
        return inventory
    }



}